home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 2003 May (DVD) / Macworld Resource DVD May 2003.toast / Data / Software / Bonus / Database / mysql-max-3.23.55.sit / mysql-max-3.23.55-apple-darwi.1 / mysql-test / r / null.result < prev    next >
Encoding:
Text File  |  2003-01-21  |  1.1 KB  |  33 lines  |  [TEXT/ttxt]

  1. NULL    NULL    isnull(null)    isnull(1/0)    isnull(1/0 = null)    ifnull(null,1)    ifnull(null,"TRUE")    ifnull("TRUE","ERROR")    1/0 is null    1 is not null
  2. NULL    NULL    1    1    1    1    TRUE    TRUE    1    1
  3. 1 | NULL    1 & NULL    1+NULL    1-NULL
  4. NULL    NULL    NULL    NULL
  5. NULL=NULL    NULL<>NULL    IFNULL(NULL,1.1)+0    IFNULL(NULL,1) | 0
  6. NULL    NULL    1.1    1
  7. strcmp("a",NULL)    (1<NULL)+0.0    NULL regexp "a"    null like "a%"    "a%" like null
  8. NULL    NULL    NULL    NULL    NULL
  9. concat("a",NULL)    replace(NULL,"a","b")    replace("string","i",NULL)    replace("string",NULL,"i")    insert("abc",1,1,NULL)    left(NULL,1)
  10. NULL    NULL    NULL    NULL    NULL    NULL
  11. repeat("a",0)    repeat("ab",5+5)    repeat("ab",-1)    reverse(NULL)
  12.     abababababababababab        NULL
  13. field(NULL,"a","b","c")
  14. 0
  15. 2 between null and 1    2 between 3 AND NULL    NULL between 1 and 2    2 between NULL and 3    2 between 1 AND null
  16. 0    0    NULL    NULL    NULL
  17. NULL AND NULL    1 AND NULL    NULL AND 1    NULL OR NULL    0 OR NULL    NULL OR 0
  18. NULL    NULL    NULL    NULL    NULL    NULL
  19. (NULL OR NULL) IS NULL
  20. 1
  21. NULL AND 0    0 and NULL
  22. NULL    0
  23. inet_ntoa(null)    inet_aton(null)    inet_aton("122.256")    inet_aton("122.226.")    inet_aton("")
  24. NULL    NULL    NULL    NULL    NULL
  25. x
  26. indexed_field
  27. indexed_field
  28. NULL
  29. NULL
  30. indexed_field
  31. NULL
  32. NULL
  33.